package com.zyl.blog.tasks.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @version v1.0
 * @ProjectName: Personal_Blog_Server
 * @Package: com.zyl.blog.tasks.enums
 * @ClassName: ExecuteStatus
 * @Description:
 * @Author FinalFantasy
 * @Date 2025/8/12-09:54
 */
@Getter
public enum ExecuteStatus {
    SUCCESS("SUCCESS", "执行成功"),
    FAIL("FAIL", "执行失败"),
    EXECUTING("EXECUTING", "执行中");

    @EnumValue
    private final String code;
    private final String desc;

    ExecuteStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}